package cc.magicjson.multi.level.camel;

import org.apache.camel.builder.RouteBuilder;
import org.springframework.stereotype.Component;

@Component
public class FileRoute extends RouteBuilder {
    @Override
    public void configure() throws Exception {
        from("file:input?noop=true")
            .log("Processing file: ${file:name}")
            .to("file:output");
    }
}
